# $Id: PKGBUILD 65738 2012-02-22 12:11:25Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-class-accessor-chained
pkgver=0.01
pkgrel=5
pkgdesc="make chained accessors"
arch=('any')
url="http://search.cpan.org/dist/Class-Accessor-Chained"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0' 'perl-class-accessor')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/R/RC/RCLAMP/Class-Accessor-Chained-$pkgver.tar.gz)
md5sums=('9825a1f30a70e55e61bb5660b2bd7365')

build() {
  cd  $srcdir/Class-Accessor-Chained-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
